package com.sk.sk_frame_cloud.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sk.sk_frame_cloud.entity.SysRole;
import com.sk.sk_frame_cloud.param.BindingPermissionParam;
import com.sk.sk_frame_cloud.param.SysRoleParam;
import com.sk.sk_frame_cloud.res.CommonResponse;

/**
 * <p>
 * 用户角色表 服务类
 * </p>
 *
 * @author chen
 * @since 2023-04-04 19:46:07
 */
public interface ISysRoleService extends IService<SysRole> {

    CommonResponse<String> add(SysRoleParam sysRoleParam);

    CommonResponse<String> updateByParam(SysRoleParam sysRoleParam);

    CommonResponse<String> bindingPermission(BindingPermissionParam permissionParam);

    CommonResponse<String> removeRoleById(Integer id);

}
